package com.yupi.usercenter.stream;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Component;

/**
 *   推送消息，写消息
 *
 * @author chenchao
 * @since Created in 2019-10-10
 */
@Component
public interface OutputInterface {

    /**
     * 问题件工单
     */
    String CSS_PROBLEM_WORK_ORDER_OUTPUT = "css-problem-work-order-output";

    @Output(CSS_PROBLEM_WORK_ORDER_OUTPUT)
    MessageChannel sendProblemWorkOrderMessage();
    
}
